package com.example.springboot02_controller.controller.service;


import com.example.springboot02_controller.controller.entity.User;

public interface UserService {
    User getById(Integer id);//根据id查询
    User addUser(User user);//添加用户
    User updateUser(User user);//修改用户
    void deleteUser(int id);//删除用户
}


